<?php

namespace App\Models;

use App\Models\Contract\SerializeDatetime;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class UserWallet extends Model
{
    use HasFactory, SerializeDatetime;

    protected $fillable = [
        'user_id', 'user_withdraw_id', 'on_withdraw', 'locked_coins', 'reward_coins', 'commission_coins', ''
    ];

    public function user()
    {
        return $this->belongsTo(User::class);
    }
}
